﻿#include "custom_data.h"
#include <iostream>
#include <sstream>
#include <thread>

using namespace boost::interprocess;

int main()
{
    managed_shared_memory segment(open_or_create, "my_shared_memory", 524288000);
    custom_data data;
    data.init(segment);

    while (true)
    {
        std::this_thread::sleep_for(std::chrono::seconds(1));
    }

    return 0;
}